package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Chapter;
import com.example.projectcode.model.Testpoint;

import java.util.List;

public interface TestPointService extends IService<Testpoint> {


    List<Testpoint> selectAllTestPointByChapid(Integer chapid);

    List<Testpoint> selectAllTestpoint();

    int insertTestPoint(Chapter chapter, String testpointName);

    int deleteTestpointById(Integer testPointId);
}
